package cn.iocoder.yudao.module.design.controller.admin.flowtaskaction.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Tag(name = "管理后台 - 任务处理模型分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class FlowTaskActionPageReqVO extends PageParam {

    @Schema(description = "任务类型描述")
    private String taskDesc;

    @Schema(description = "任务类型0-补充信息  1-流转  2-好友请求  3-项目关联请求")
    private Long taskType;

    @Schema(description = "反射类")
    private String taskAction;

    @Schema(description = "反射方法")
    private String taskMethod;

    @Schema(description = "状态表 Y-启用  N-停用 ")
    private String status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

}
